package cn.edu.xmu.wnw.dao;

// default package

import java.util.List;

import org.springframework.context.ApplicationContext;

import cn.edu.xmu.wnw.pojo.MoodReplay;

public interface MoodReplayDAO {

	public void initDao();

	public void save(MoodReplay transientInstance);

	public void delete(MoodReplay persistentInstance);

	public MoodReplay findById(java.lang.Integer id);

	public List findByExample(MoodReplay instance);

	public List findByProperty(String propertyName, Object value);

	public List findByContent(Object content);

	public List findByAuthor(Object author);

	public List findAll();

	public MoodReplay merge(MoodReplay detachedInstance);

	public void attachDirty(MoodReplay instance);

	public void attachClean(MoodReplay instance);

	public MoodReplayDAO getFromApplicationContext(ApplicationContext ctx);
}